$(function () {
    $('#excel').click(function () {
        alert(1);
        console.log(1)
        $('table').table2excel({
            name: "Excel Document Name",
            filename: "shop.xls",
            exclude_img: true,
            exclude_links: true,
            exclude_inputs: true,
        });
    })
})